package com.vhall.component.entity.chat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论详情表
 *
 * @TableName comment_record
 */
@Data
@TableName(value = "comment_record")
public class CommentRecordEntity implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    /**
     * ID（主键）
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * PaaS应用ID
     */
    private String appId;

    /**
     * 房间id
     */
    private Integer ilId;

    /**
     * PAAS直播房间id
     */
    private String roomId;

    /**
     * 创建者ID
     */
    private String creatorId;

    /**
     * 创建者昵称
     */
    private String creatorNickname;

    /**
     * 评论内容
     */
    private String textContent;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;


}